import os
import sys

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print(BASE_DIR)
sys.path.insert(0, BASE_DIR)
from datetime import datetime,timedelta

from flask import Blueprint,request
from flask_cors import CORS
from common.utils.jwt_util import generate_jwt,verify_jwt
from secend_flask import create_flask_app
from common.settings.default import Config

app = create_flask_app(Config)
# CORS(app, resources=r'/*')


if __name__ == '__main__':
    app.run( host="0.0.0.0",port=5000,debug=True)
